//
//  FocusModel.m
//  GameBoss
//
//  Created by dllo on 15/4/21.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "FocusModel.h"

@implementation FocusModel
//- (void)setValue:(id)value forKey:(NSString *)key
//{
//    if ([key isEqual:@"id"]) {
//        self.focusId = value;
//    }
//}

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.title forKey:@"title"];
    [aCoder encodeObject:self.id forKey:@"id"];
}

- (id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    if (self) {
        self.title = [aDecoder decodeObjectForKey:@"title"];
        self.id = [aDecoder decodeObjectForKey:@"id"];
    }
    return self;
}

@end
